package com.geeksaga.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.dao.DataAccessException;
import org.springframework.stereotype.Service;

import com.geeksaga.dao.CharactersetDao;
import com.geeksaga.domain.Characterset;

/**
 * @author newbie
 * @since 0.1
 */
@Service
public class CharactersetServiceImpl implements CharactersetService {

	@Autowired private CharactersetDao charactersetDao;
	
	/* (non-Javadoc)
	 * @see com.geeksaga.service.CharactersetService#add(com.geeksaga.domain.Characterset)
	 */
	public Characterset add(Characterset characterset) throws DataAccessException {
		return charactersetDao.add(characterset);
	}

	/* (non-Javadoc)
	 * @see com.geeksaga.service.CharactersetService#find(com.geeksaga.domain.Characterset)
	 */
	public Characterset find(Characterset characterset) throws DataAccessException {
		return charactersetDao.find(characterset);
	}
}